/**
 * 扫描控制台输入
 */
import java.util.Scanner;
public class TestScanner{
	public static void main(String[] args){
		Scanner s = new Scanner(System.in);
		System.out.println("Please input some strings: ");
		while (true){
			String line = s.nextLine();
			if (line.equals("exit"))break;
			System.out.println(">>>" + line);
		}
	}
}
